package com.itheima.myset;

public class Test2 {
    public static void main(String[] args) {
        String s1 = "aaa";
        String s2 = "AAA";
        //使用IgnoreCase忽略大小写
        System.out.println(s1.equalsIgnoreCase(s2));

        System.out.println(s1.compareToIgnoreCase(s2));
    }
}
